package client;

import handling.Buffstat;
import java.io.Serializable;

public enum MapleBuffStat
        implements Serializable, Buffstat {


    物理攻击(1024, 12),//1
    物理防御(2048, 12),//2
    魔法攻击(4096, 12),//4
    魔法防御(8192, 12),//8
    骑宠防御(1, 12),
    命中率(256, 12),
    回避率(512, 12),
    手技(1024, 12),
    移动速度(128, 12),//   轻功  121OK 
    跳跃力(64, 12),//轻功  121 OK
    魔法盾(0x20, 12),
    隐身术(0x10, 12),
    攻击加速(0x8, 12),// 61101004熊熊烈火升级 121 OK
    伤害反击(0x4, 12),//  31101003黑暗复仇  121  OK
    MAXHP(0x3, 12),
    MAXMP(0x3, 12),
    神之保护(-2147483648, 10),
    无形箭弩(65536, 1),
    斗气集中(0x2000000, 11),
    召唤兽(32768, 2),
    属性攻击(4194304, 1),
    龙之力(8388608, 1),
    光之守护(8388608, 1, true),
    神圣祈祷(0x800000, 11),
    聚财术(33554432, 1),
    影分身(2097152, 11),//4111002  121 OK
    敛财术(0x100000, 11),
    替身术(0x8000000, 11),
    静心(0x80800000, 13),//24111005  121  OK
    金钱护盾(0x80000, 11),
    冲锋队长能量激发(268435456, 1),
    HP_LOSS_GUARD(536870912, 1),
    尖兵全息投影(2097152, 11),//  36111006 全息投影  121 OK
    恶魔猎手蓝血(2097152, 11),
    变身术(16384, 11),//61111008 终极变形 121 OK
    RECOVERY(4, 2),
    冒险岛勇士(0x1000, 11),
    双刀荆棘(0x800, 11),//  海盗精神  5321010  121 OK
    稳如泰山(2048, 11),//23121054小精灵祝福  121 OK
    魂骑士灵魂誓约_1(2048, 11),
    火眼晶晶(0x400, 11),
    魔法反击(64, 2),
    暗器伤人(128, 11),//14111007  121 OK
    终极无限(64, 11),
    进阶祝福(0xA000000, 13),
    幻影步(0x10, 11),
    风灵风之祝福_3(2048, 2),
    致盲(4096, 2),
    集中精力(8192, 2),
    英雄回声(32768, 2),
    MESO_RATE(65536, 2),
    GHOST_MORPH(131072, 2),
    ARIANT_COSS_IMU(262144, 2),
    DROP_RATE(1048576, 2),
    EXPRATE(4194304, 2),
    ACASH_RATE(8388608, 2),
    ILLUSION(16777216, 2),
    狂暴战魂(33554432, 2),
    金刚霸体(67108864, 2),
    闪光击(134217728, 2),
    夜光黑暗巫术(131072, 10),// 27121006黑暗巫术  121  OK
    ARIANT_COSS_IMU2(268435456, 2),
    终极弓剑(536870912, 2),
    双刀隐形剑(262144, 10),//  双刀隐形剑 121 OK
    自然力重置(131072, 10),//22151003自然力重置  121 OK
    诺巴的勇士(4096, 11),// 诺巴的勇士 121  OK
    风影漫步(1, 3),
    矛连击强化(4, 3),
    连环吸血(64, 7),// 31121002 吸血鬼之触  121  OK
    战神之盾(16, 3),
    战神抗压(32, 3),
    战神威势(64, 3),
    PYRAMID_PQ(512, 10),
    缓速术(4096, 3),
    魔法屏障(10240, 12),
    抗魔领域(16384, 3),
    灵魂之石(32768, 3),
    飞行骑乘(65536, 3),
    雷鸣冲击(0, 6),//51121006灵魂之怒  121  OK
    葵花宝典(536870912, 9),
    死亡猫头鹰(1048576, 3),
    圣骑士至强圣域(2097152, 3),
    终极斩(0x4000000, 9),//121 OK
    DAMAGE_BUFF(8388608, 3),
    ATTACK_BUFF(16777216, 3),
    弩骑呼啸_1(8388608, 3),
    弩骑呼啸_2(8388608, 3),
    地雷(33554432, 3),
    古老意志(67108864, 3),
    猴子魔法(0xAF80000, 13),
    增强_MAXHP(65536, 9),//
    增强_MAXMP(131072, 9),//
    增强_物理攻击(1048576, 9),//4341007双刀荆棘  121 OK
    增强_魔法攻击(524288, 9),//  27111006光照精神力  121  OK
    增强_物理防御(4194304, 9),//
    增强_魔法防御(8388608, 9),//
    机械师机甲_属性(0x1000000, 1),
    机械师机甲_属性_1(0x1000000, 1),
    机械师机甲_属性_2(0x1000000, 1),
    机械师机甲_属性_3(0x1000000, 1),
    机械师机甲_属性_4(0x1000000, 1),
    完美机甲(0x10000, 9),
    卫星防护_PROC(2, 4),
    卫星防护_吸收(4, 4),
    幻灵飓风(8, 4),
    CRITICAL_RATE_BUFF(16, 4),
    MP_BUFF(32, 4),
    DAMAGE_TAKEN_BUFF(64, 4),
    DODGE_CHANGE_BUFF(128, 4),
    幻灵转化(64, 9),
    幻灵重生(128, 9),
    潜入(256, 9),
    金属机甲(0x20, 9),
    幻灵灵气(1024, 9),
    幻灵战斗大师(1024, 9, true),
    黑暗灵气(10, 9),//  121 OK
    蓝色灵气(8, 9),//   121 OK
    黄色灵气(4, 9),//   121 OK
    幻灵霸体(2, 9),
    暴走形态(1, 9),
    幸运骰子(0x80000000, 8),//  15111011幸运骰子   121 OK 
    海盗精神(2048, 11),
    祝福护甲(524288, 4),
    反制攻击(536870912, 8),//  24121004  圣歌祈祷 121  OK
    快速移动精通(2097152, 4),
    战斗命令(4194304, 4),
    灵魂助力(67108864, 8),
    GIANT_POTION(0x1000000, 8),
    玛瑙的保佑(67108864, 4),
    玛瑙的意志(134217728, 4),
    牧师祝福(1048576, 8),
    压制术(1, 5),
    冰骑士(2, 5),
    力量(8192, 8),
    智力(4096, 8),
    敏捷(2048, 8),
    运气(1024, 8),
    弩骑呼啸_3(240, 5),
    弩骑呼啸_4(240, 5),
    弩骑呼啸_5(240, 5),
    风灵信天翁_1(5120, 5, true),
    风灵信天翁_2(-2113929216, 7, true),
    风灵信天翁_3(256, 7, true),
    风灵信天翁_4(262144, 9, true),
    风灵信天翁_5(48, 9, true),
    风灵信天翁_6(16384, 10, true),
    狂龙战士的威严(1024, 5),
    狂龙战士的威严_1(1024, 5),
    ANGEL_ATK(0x80000000, 13, true),//加攻击力 4121054  121 OK
    火焰咆哮(0x80000000, 12, true),
    ANGEL_MATK(0x40000000, 13, true),
    HP_BOOST(134217728, 13, true),//32101002蓝色灵气 121 OK
    MP_BOOST(134217728, 13, true),
    ANGEL_ACC(8388608, 13, true),
    ANGEL_AVOID(32768, 5, true),
    ANGEL_JUMP(65536, 5, true),
    ANGEL_SPEED(0x760000, 9, true),
    ANGEL_STAT(262144, 5, true),
    PVP_DAMAGE(16384, 5),
    PVP_ATTACK(32768, 5),
    INVINCIBILITY(65536, 5),
    潜力解放(16777216, 7),//1
    精灵弱化(33554432, 7),//2
    拳手索命(67108864, 7),//4
    FROZEN(134217728, 7),//8
    ICE_SKILL(268435456, 7),//16
    无限精气(536870912, 7),//32   31121007 无限精气  121  OK
    神圣魔法盾(1, 6),
    神秘瞄准术(4, 6),
    异常抗性(0x200000, 7),// 黑暗忍耐 121 OK
    属性抗性(0x400000, 7),//黑暗忍耐  121  OK
    萝莉终极契约_1(32, 9),// 机甲：悬浮 121 OK
    奇袭者极限铠甲(0x100000, 7),
    双弩水盾(1048576, 7),
    精灵骑士(0x2000000, 11),
    精灵骑士1(0x2000000, 11),
    精灵骑士2(0x2000000, 11),
    恶魔复仇者驱邪_1(7340032, 7),//31211003驱邪  121 OK
    恶魔复仇者驱邪_2(7340032, 7),
    恶魔复仇者驱邪_3(7340032, 7),
    黑暗变形(128, 6),
    随机橡木桶(0x40000, 7),//5311004  121 OK
    精神连接(131072, 7),//精神注入  23101003  121  OK
    战士_铠甲(536870912, 13, true),
    萝莉终极契约_2(16384, 7),
    萝莉终极契约_3(16384, 7),//终极变形 61111008   121 OK
    夜光光影防护_1(805306368, 13, true),
    夜光光影防护_2(805306368, 13, true),
    物理防御力(8192, 6, true),
    魔法防御力(8192, 6, true),
    神圣拯救者的祝福(16384, 6),
    精神注入(16384, 7),//精神注入  23101003  121  OK
    NO_SLIP(262144, 6),
    FAMILIAR_SHADOW(524288, 6),
    SIDEKICK_PASSIVE(1048576, 6),
    吸血鬼之触(33554432, 6),
    黑暗忍耐(32, 7),//  31111004黑暗忍耐 121 OK
    尖兵双重防御_防御力(1048576, 7),//36111003尖兵双重防御  121  OK
    狂龙终极变形_100(65536, 13),
    风灵_信天翁_7(256, 7, true),
    狂龙战士的威严_100(65536, 13, true),//31221004惊天之力  121 OK
    百分比MaxHp(67108864, 13, true),//24111003  幸运保护  121 OK
    百分比MaxMp(16777216, 13, true),//27001004  魔力延伸  121 OK
    百分比无视防御(1048576, 6),//24121004  圣歌祈祷 121  OK
    主教天使复仇(33554432, 7, true),
    尖兵高效输能(524296, 7),
    幻影屏障(262144, 6),
    卡牌审判(32768, 6),
    幻影神秘运气(524288, 6),//24111002  神秘运气   121  OK
    箭神鹰眼(536870912, 7),
    米哈尔灵魂之怒(196608, 6),//51121006灵魂之怒  121 OK
    唤灵暴怒对战(805306368, 7),
    催化(32, 13, true),//  催化         121 OK
    尖兵神秘代码_攻击伤害(0x20, 13, true),// 传说冒险家  121 OK
    夜光光暗模式(128, 6), //    20040219平衡  121  OK
    尖兵双重防御_回避率(64, 6),//27121005黑暗高潮  121  OK
    夜光黑暗祝福(32, 6),     // 27100003夜光黑暗祝福  121  OK
    夜光抵抗之魔法盾(16, 6),  // 27111004抵抗之魔法盾  121  OK
    夜光生命潮汐(8, 6),   //27110007生命潮汐  121  OK
    尖兵攻击矩阵(1048576, 6),//  121  OK
    狂龙剑壁之刃(268435456, 5),
    狂龙模式切换(131072, 8),
    萝莉灵魂凝视(0x8000000, 5),
    能量获得(16777216, 8),
    疾驰速度(33554432, 8),
    疾驰跳跃(67108864, 8),
    骑兽技能(134217728, 8, true),
    极速领域(536870912, 8),
    导航辅助(1073741824, 8),
    守护者之荣耀(4, 13, true),//传说冒险家  121 OK
    萝莉力量转移(33554432, 5),
    DEFAULT_BUFFSTAT(-2147483648, 8),
    强健护甲(1, 6),// 强健护甲  121 OK
    萝莉灵魂鼓舞(512, 5),
    圣骑士至强圣域_2(1024, 5),
    狂龙战士的威严_6(3072, 5, true),
    幻影最终审判(4096, 5),//   24121054最终审判 121 OK
    神之子_圣洁之力_属性抗性_9_1(8192, 5, true),
    神之子_圣洁之力_异常抗性_9_2(16384, 5, true),
    冰雷_寒冰灵气_1(112, 9),
    冰雷_寒冰灵气_2(112, 9, true),
    冰雷_寒冰灵气_3(112, 9, true),
    火毒火焰灵气(128, 9),
    主教天使复仇_2(256, 9),
    主教天堂之门(256, 9),
    箭神鹰眼_1(2048, 9),
    龙传_醉饮竹林_1(16, 9),
    龙传_醉饮竹林_2(32, 9, true),
    龙传_醉饮竹林_3(32768, 9, true),
    船长_不倦神酒_1(4096, 9, true),
    船长_不倦神酒_2(32768, 9, true),
    隐士_流血剧毒(8, 5),//  121 OK 
    双刀阿修罗(2, 5),//  121 OK
    尖兵神秘代码_BOSS伤害(67108864, 4),//36121003神秘代码  121 OK
    魂骑士日月轮转_0(262144, 9),
    魂骑士灵魂誓约_2(262144, 9, true),
    魂骑士灵月光洒落(262144, 9),
    恶魔复仇者超越(67108864, 9),
    恶魔复仇者负荷(4194304, 4),
    弩骑沉默之怒(268435456, 9),
    恶魔复仇者恶魔恢复(134217728, 9),
    魂骑士日月轮转_1(-2147483648, 12, true),
    火炮手霰弹炮(-2147483648, 9),
    尖兵自由飞翔(8192, 4),
    尖兵永动机(34, 10),
    风灵元素风(128, 10),
    奇袭者开天辟地(256, 10),
    风灵暴风灭世(2048, 10),
    魂骑士光之刃_1(4096, 10),
    风灵风之祝福_1(0x40, 10),
    风灵风之祝福_2(0x40, 10),
    风灵_信天翁(8, 4, true),
    风灵_信天翁_1(8, 4, true),
    魂骑士旭日(2, 4),//  121 OK
    魂骑士元素_灵魂(262144, 10),
    魂骑士日月轮转_2(524288, 10),
    魂骑士光之刃_2(131072, 10),
    黑骑士_交叉锁链(4194304, 3),
    圣骑士_元气恢复(67108864, 10),
    圣骑士_抗争领域_1(-1073741824, 10),
    圣骑士_抗争领域_2(-1073741824, 10, true),
    冰雷寒冰步(1, 11),
    主教_祈祷众生(4, 11),
    神射手_极限射箭(16, 11),
    神射手_三彩箭(0x8000, 3),
    进阶箭筒(128, 11),
    神之子_圣洁之力_11(4096, 11),
    神之子_神圣迅捷_11(8192, 11),
    神之子_神圣迅捷_圣洁之力_虚幻(32768, 11),
    //黑暗杂耍(0x2000000, 11),
    黑骑士_龙献祭(65536, 11, true),
    神之子_提速时刻_侦查(262144, 11),
    神之子_提速时刻_战斗(524288, 11),
    奇袭者极速领域(268435456, 12, true),
    新式骑宠(0x100000, 13),
    机械师骑兽技能(0x100000, 13, true);
    private static final long serialVersionUID = 0L;
    private int buffstat;
    private int first;
    private boolean stacked = false;

    private MapleBuffStat(int buffstat, int first) {
        this.buffstat = buffstat;
        this.first = first;
    }

    private MapleBuffStat(int buffstat, int first, boolean stacked) {
        this.buffstat = buffstat;
        this.first = first;
        this.stacked = stacked;
    }


    public int getValue() {
        return this.buffstat;
    }

    public boolean canStack() {
        return this.stacked;
    }
        @Override
        public int getPosition() {
        return getPosition(false);
    }

    public final int getPosition(boolean fromZero) {
        if (!fromZero) {
            return this.first;
        }
        switch (this.first) {
            case 12:
                return 0;
            case 11:
                return 1;
            case 10:
                return 2;
            case 9:
                return 3;
            case 8:
                return 4;
            case 7:
                return 5;
            case 6:
                return 6;
            case 5:
                return 7;
            case 4:
                return 8;
            case 3:
                return 9;
            case 2:
                return 10;
            case 1:
                return 11;
        }
        return 0;
    }
}


/* Location:           C:\Users\文炳\Desktop\CXFBY\114Maplewing.jar
 * Qualified Name:     client.MapleBuffStat
 * JD-Core Version:    0.6.2
 */